package com.chen.service;

import com.chen.bean.entity.UserEntity;
import com.chen.bean.vo.WxLoginRequest;
import com.chen.bean.vo.WxUserInfo;

public interface UserService {

    UserEntity queryById(Integer id);

    UserEntity queryByOpenId(String openId);

    void insert(UserEntity entity);

    void updateById(UserEntity entity);

    WxUserInfo loginByWx(WxLoginRequest request) throws Exception;
}
